package com.csun.cmny.provider.model.dto.watch;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-01-17 20:40
 * @Description: the watch time zone dto
 */
@Data
@ApiModel(value = "设置孝心手环时区Dto")
public class WatchTimeZoneDto implements Serializable {

    private static final long serialVersionUID = -3476235983363853231L;

    /**
     * 设备Id
     */
    @NotNull(message = "{device.id.null}")
    private Long deviceId;

    @NotEmpty(message = "{watch.config.time.zone.empty}")
    private String timeZone;

}
